package com.jason.campusinn.constants;


import com.jason.campusinn.CampusInnApp;

/**
 * 全部接口字段
 */
public class InterfaceConstants {

    /**
     * 分页加载默认每页条数
     */
    public static final int LIST_DEFAULT_SIMPLE_ROWS = 10;
    /**
     * 分页加载默认大片每页条数
     */
    public static final int LIST_DEFAULT_SUIT_ROWS = 10;

    public static final String CUSTOMIZATION_IMAGE_BASE_URL = "http://7xjold.com2.z0.glb.qiniucdn.com/image/custom/01/m/";
    /**7牛图片BaseUrl*/
    public static final String IMAGE_BASE_URL = "http://7xjold.com1.z0.glb.clouddn.com/image/goodsFile/";
    /**缩略图url*/
    public static final String IMAGE_THUMBNAILS_URL = "?imageView2/2/w/" + CampusInnApp.getInstance().mScreenWidth;
    public static final String IMAGE_BLUR_URL = "?imageMogr2/thumbnail/!75p/blur/3x5";
//    public static final String BASE_URL = "http://121.42.25.213:8080/c2mwebservice/api/v1/";
//    public static final String BASE_URL = "http://www.magicmanufactory.com/c2mwebservice/api/v1/";
    public static final String DOMAINURL = "http://www.magicmanufactory.com/";
    public static final String BASE_URL = DOMAINURL + "c2mwebservice/api/v1/";
//    public static final String BASE_URL = "http://192.168.10.58:8080/c2mwebservice/api/v1/";
    public static final String WEB_BASE_URL = "http://www.magicmanufactory.com/c2mwebservice";
    public static final String IMG_BASE_URL = "http://www.magicmanufactory.com";
//    public static final String COMMIT_ORDER_BASE = "http://www.magicmanufactory.com/c2mwebservice/api/v1/";
//    public static final String COMMIT_ORDER_BASE = "http://121.42.25.213:8080/c2mwebservice/api/v1/";
    /**
     * 首页 数据
     */
    public static final String GET_HOME_PAGE_DATA = BASE_URL + "public/index";

    /**
     * 获取首页更多最新大片列表
     */
    public static final String GET_HOME_NEW_SUITS = BASE_URL + "public/suit/newList/";

    /**
     * 首页获取更多热门推荐列表
     */
    public static final String GET_HOME_HOT_GOODS = BASE_URL + "public/goods/hotGoods/";

    /**根据大片Id获取单品列表*/
    public static final String GET_GOODS_LIST_BY_SUIT_ID = BASE_URL + "suit/goodsList/";
    /**
     * 忘记用户密码---发送验证码
     */
    public static final String PHONE_EXISTENCE = BASE_URL + "public/members/existence/";

    /**
     * 忘记用户密码---发送验证码
     */
    public static final String SEND_VERTIFICATION = BASE_URL + "public/verification/";

    /**
     * 忘记用户密码---重置密码
     */
    public static final String RESET_PASSWORD = BASE_URL + "public/password/";
    /**
     * 获取套装（大片）列表
     */
    public static final String GET_SUIT_LIST = BASE_URL + "public/suit/list";

    /**
     * 根据大片id获取单品列表
     */
    public static final String GET_GOOS_LIST_BY_ID = BASE_URL + "public/suit/goodsList/";

    /**
     * 获取商品品类
     */
    public static final String GOOS_CATEGROY = BASE_URL + "public/goods/goodsCategroy";

    /**根据大片--品类 获取商品列表*/
    public static final String GET_GOODS_LIST_BY_ID = BASE_URL + "public/goods/goodsList";

    /**获取商品详情*/
    public static final String GET_PRODUCT_DETAIL = BASE_URL + "public/goods/goodsById/";

    /**会员收藏商品*/
    public static final String MEMBERS_GOODS_COLLECT = BASE_URL + "members/memberGoodsCollect";

    /**
     * 我的订单---获取分类我的订单列表
     */
    public static final String MY_ORDERS_CATEGORY = BASE_URL + "trade/MEMBER_ID/myOrders/ORDER_STATUS";

    /**
     * 我的订单---删除某个订单---后面拼接orderid  method = RequestMethod.DELETE
     */
    public static final String DELETE_ORDER = BASE_URL + "trade/MEMBER_ID/myOrders/";
    /**
     * 我的订单---取消某个订单---后面拼接orderid
     */
    public static final String CANCEL_ORDER = BASE_URL + "trade/MEMBER_ID/myOrder/";

    /**
     * 我的订单---单个订单查询---后面拼接orderid method = RequestMethod.GET
     */
    public static final String SELECT_ORDER = BASE_URL + "trade/MEMBER_ID/myOrders/";
    /**
     * 我的订单---确认收货
     */
    public static final String RECEIPT = BASE_URL + "trade/MEMBER_ID/receipt/";

    /**
     * 我的订单---退款详情
     */
    public static final String REFUND_DETAIL = BASE_URL + "trade/MEMBER_ID/refunds/";


    /**
     * 订单提交
     */
    public static final String COMMIT_ORDER = BASE_URL + "trade/MEMBER_ID/order";

    /**
     * 订单提交 再买一件
     */
    public static final String COMMIT_ANOTHER_ORDER = BASE_URL + "trade/MEMBER_ID/orders/";


    /**
     * app重新支付上送支付宝报文请求
     */
    public static final String GET_PAY_ALIPAY_INFO= BASE_URL + "members/MEMBER_ID/alipayment";

    /**
     * app重新支付上送银联报文请求
     */
    public static final String GET_PAY_YINLIAN_INFO= BASE_URL + "members/MEMBER_ID/payment";

    /**
     * 消息通知---消息通知列表
     */
    public static final String NOTICE_LIST = BASE_URL + "members/MEMBER_ID/notification";
    /**
     * 消息通知---消息通知列表
     */
    public static final String NOTICE_DETAIL = BASE_URL + "notification/";

    /**
     * 未完成的作品---未完成作品列表
     */
    public static final String UNFINISHED_WORK = BASE_URL + "members/MEMBER_ID/unfinishedOpus";
    /**
     * 未完成的作品---未完成作品删除
     */
    public static final String UNFINISHED_WORK_DELETE = BASE_URL + "members/MEMBER_ID/unfinishedOpus/";

    /**
     * 我的收藏---取消收藏
     */
    public static final String MYCOLLECTION_CANCEL = BASE_URL + "members/memberGoodsCollect";

    /**
     * 我的收藏---收藏物品列表
     */
    public static final String MYCOLLECTION_LIST = BASE_URL+"members/MEMBER_ID/memberGoodsCollect";

    /**
     * 我的钱包---获取酷特币消费记录
     */
    public static final String MY_WALLET = BASE_URL + "members/40288ace4d5617ec014d561e84ba0000/virtualCoinRecords";

    /**
     * 设置---关于我们
     */
    public static final String ABOUT_US = BASE_URL + "public/settings/aboutus";

    /**
     * 设置---问题类别
     */
    public static final String QUESTIONS = BASE_URL + "public/settings/assistantsFeedbacks";



    /**
     * 获取验证码---后面拼接电话号码
     */
    public static final String VERIFICATION_CODE = BASE_URL + "public/verification/";

    /**
     * 我的地址---地址查询
     */
    public static final String ADDRESS_LIST = BASE_URL + "members/MEMBER_ID/addresses";
    /**
     * 我的地址---地址修改
     */
    public static final String ADDRESS_UPDATE = BASE_URL + "members/MEMBER_ID/addresses/ADDRESS_ID";
    /**
     * 我的地址---地址删除
     */
    public static final String ADDRESS_DELETE = BASE_URL + "members/";

    /**
     * 我的地址---地址添加
     */
    public static final String ADDRESS_ADD = BASE_URL + "members/MEMBER_ID/addresses";



    /**
     * 设置---用户意见提交
     */
    public static final String SEND_SUGGESTION = BASE_URL + "members/MEMBER_ID/assistantsFeedbacks";

    /**
     * 我的钱包---酷特币账单
     */
    public static final String KUTE_BILL_RECORD = BASE_URL + "members/MEMBER_ID/virtualCoinRecords";

    /**
     * 我的钱包---我的账单列表
     */
    public static final String MY_BILL = BASE_URL + "members/MEMBER_ID/tradeRecords";

    /**
     * 我的钱包---银行卡信息、余额信息
     */
    public static final String BANK_BALANCE = BASE_URL + "members/MEMBER_ID/myWallet";

    /**
     * 我的钱包---新增银行卡
     */
    public static final String ADD_BANK_CARDS = BASE_URL + "members/MEMBER_ID/bankCards";

    /**
     * 我的钱包---删除银行卡
     */
    public static final String DELETE_BANK_CARDS = BASE_URL + "members/MEMBER_ID/banckCards";

    /**
     * 个人中心---修改个性签名、会员名、头像等信息
     */
    public static final String CHANGE_PERSONAL_INFO = BASE_URL + "members/MEMBER_ID";

    /**
     * 个人中心---修改密码
     */
    public static final String CHANGE_PSW = BASE_URL + "members/MEMBER_ID/security/password";

    /**
     * 个人中心---修改手机
     */
    public static final String CHANGE_PHONE = BASE_URL + "members/MEMBER_ID/security/phoneNo";

    /**
     * 个人中心---修改邮箱
     */
    public static final String CHANGE_EMAIL = BASE_URL + "members/MEMBER_ID/security/email";

    public static final String MODIFY_INFO = BASE_URL + "members/MEMBER_ID";

    /**
     * 个人中心---上传图片
     */
    public static final String UPLOAD_IMAGE = BASE_URL + "images/MEMBER_ID";

    /**
     * 造物---获取尺寸列表
     */
    public static final String SIZE_LIST_BEAUTY = BASE_URL + "public/sizes/goods/";
    /**
     * 造物---获取尺寸列表
     */
    public static final String SIZE_LIST_CREATE = BASE_URL + "public/sizes/category/";

    /**
     * 根据商品ID获取尺寸列表  后面拼接商品ID
     */
    public static final String SIZE_LIST_BY_ID = BASE_URL + "public/sizes/goods/";

    /**
     * 根据catagoriesID获取尺寸列表
     */
    public static final String SIZE_LIST_BY_CATAGORIES=BASE_URL+"public/sizes/category/";

    /**获取设计师列表*/
    public static final String GET_DESIGNER_LIST = BASE_URL + "public/designer/list";

    /**造物获取数据接口*/
    public static final String GET_CREATE_DETAIL_DATA = BASE_URL + "public/magicManufactory/designCategory";

    /**获取造物，面料、里料、定制项、定制点、design等数据*/
    public static final String GET_CREATE_ALL_RESOURSES = BASE_URL + "public/allResources";

    /**获取造物定制信息*/
    public static final String GET_CREATE_CUSTOMIZATION_INFO = BASE_URL + "public/customization";

    /**
     * 查看物流---后面拼接商品id
     */
    public static final String QUERY_LOGISTICS = BASE_URL + "members/MEMBER_ID/logistics/";

    /**
     * 分享的下载地址
     */
    public static final String SHARE_DOWNLOAD = BASE_URL + "public/relation/MEMBER_ID";

    /**
     * 我的钱包----提现
     */
    public static final String WITHDRAW = BASE_URL + "members/MEMBER_ID/withdraws";

    /**获取造物工艺冲突关系数据*/
    public static final String GET_TECHNICAL_CONFICT_DETAILS = BASE_URL + "public/technicalConfictDetails";
    /**保存未完成作品*/
    public static final String SAVE_UN_FINISHED_WORKS = BASE_URL + "members/";

    public static final String GET_MAGIC_FACTORY_PRICE = BASE_URL + "public/magicManufactory/price/";

    /**获取虚拟币使用率、返现率*/
    public static final String GET_VIRTUAL_USED = BASE_URL + "public/virtualRatio/";//造物拼"0"，美物拼接goodsuid

    /**
    * 奋斗者----获取套装详情
    */
    public static final String GET_STRUGGLER_SUIT_INFO = BASE_URL + "public/struggler/suite/";//拼接goodsuid

    /**
     * 奋斗者----获取全部套装详情
     */
    public static final String GET_SUITS_INFO = BASE_URL + "public/struggler/suits";

    /**
     * 奋斗者----首页接口
     */
    public static final String GET_STRUGGLER_INFO = BASE_URL + "public/struggler/index/MEMBERID";//拼接goodsuid

    /**奋斗者 ---- 获取所有套装*/
    public static final String GET_STRUGGLER_SUITS=BASE_URL+"public/struggler/suits";
    /**
     * 获取休闲风格下的所有单品
     */
    public static final String GET_STRUGGLER_GOODSLIST=BASE_URL+"public/struggler/goodsList";


    /**获取用户二维码*/
    public static final String GET_USER_QRCDE = BASE_URL + "members/";
}
